﻿using Mysoft.Entity.Basic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Mysoft.Entity
{
    /// <summary>
    /// 用户表
    /// </summary>
    [Table("Sys_User")]
    public class Sys_User : EntityBase
    {
        /// <summary>
        /// 主键
        /// </summary>
        [Key]
        public Guid Id { get; set; }
        /// <summary>
        /// 用户姓名
        /// </summary>
        public string? Name { get; set; }
        /// <summary>
        /// 用户账号
        /// </summary>
        public string? Code { get; set; }
        /// <summary>
        /// 密码
        /// </summary>
        public string? Password { get; set; }

        /// <summary>
        /// token
        /// </summary>
        public string? Token { get; set; }

    }
}
